package cn.git.bbs.core.service.product;

import cn.git.bbs.core.bean.product.Color;
import cn.git.bbs.core.bean.product.Product;
import cn.itcast.common.page.Pagination;

import java.util.List;

public interface ProductService {
    public Pagination selectPaginationByQuery(String name, Integer isShow, Integer pageNo);

    public Product selectProductById(Long id);

    void updateProductById(Product product);

    List<Color> selectColorList();

    void insertProduct(Product product);

    void isShow(Long[] ids);
}
